package com.example.service.impl;

import com.example.dao.userDao;
import com.example.domain.user;
import com.example.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class userServiceImpl implements UserService {

    @Autowired
    userDao uDao;

    @Override
    public user findAll(user u) {
        return uDao.findAll(u);
    }

    @Override
    public int resUser(user u) {
        return uDao.resUser(u);
    }

    @Override
    public user judgeUserId(String user_id) {
        return uDao.judgeUserId(user_id);
    }
}
